# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'SelectBuildDlg.ui'
#
# Created: Tue Nov 22 15:35:17 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_SelectBuildDlg(object):
    def setupUi(self, SelectBuildDlg):
        SelectBuildDlg.setObjectName(_fromUtf8("SelectBuildDlg"))
        SelectBuildDlg.resize(423, 403)
        SelectBuildDlg.setMinimumSize(QtCore.QSize(423, 403))
        self.gridLayout = QtGui.QGridLayout(SelectBuildDlg)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buildsTree = QtGui.QTreeWidget(SelectBuildDlg)
        self.buildsTree.setObjectName(_fromUtf8("buildsTree"))
        self.gridLayout.addWidget(self.buildsTree, 0, 0, 4, 1)
        self.refreshBtn = QtGui.QPushButton(SelectBuildDlg)
        self.refreshBtn.setObjectName(_fromUtf8("refreshBtn"))
        self.gridLayout.addWidget(self.refreshBtn, 0, 1, 1, 1)
        self.addBtn = QtGui.QPushButton(SelectBuildDlg)
        self.addBtn.setObjectName(_fromUtf8("addBtn"))
        self.gridLayout.addWidget(self.addBtn, 1, 1, 1, 1)
        self.removeBtn = QtGui.QPushButton(SelectBuildDlg)
        self.removeBtn.setObjectName(_fromUtf8("removeBtn"))
        self.gridLayout.addWidget(self.removeBtn, 2, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(SelectBuildDlg)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 1, 1, 1)

        self.retranslateUi(SelectBuildDlg)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SelectBuildDlg.onAccept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SelectBuildDlg.reject)
        QtCore.QObject.connect(self.addBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), SelectBuildDlg.onAdd)
        QtCore.QObject.connect(self.refreshBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), SelectBuildDlg.onRefresh)
        QtCore.QObject.connect(self.removeBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), SelectBuildDlg.onRemove)
        QtCore.QObject.connect(self.buildsTree, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QTreeWidgetItem*,int)")), SelectBuildDlg.onAccept)
        QtCore.QMetaObject.connectSlotsByName(SelectBuildDlg)

    def retranslateUi(self, SelectBuildDlg):
        SelectBuildDlg.setWindowTitle(QtGui.QApplication.translate("SelectBuildDlg", "Select Xbox Build", None, QtGui.QApplication.UnicodeUTF8))
        self.buildsTree.headerItem().setText(0, QtGui.QApplication.translate("SelectBuildDlg", "Xbox360", None, QtGui.QApplication.UnicodeUTF8))
        self.refreshBtn.setText(QtGui.QApplication.translate("SelectBuildDlg", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.addBtn.setText(QtGui.QApplication.translate("SelectBuildDlg", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.removeBtn.setText(QtGui.QApplication.translate("SelectBuildDlg", "Remove", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SelectBuildDlg = QtGui.QDialog()
    ui = Ui_SelectBuildDlg()
    ui.setupUi(SelectBuildDlg)
    SelectBuildDlg.show()
    sys.exit(app.exec_())

